﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Economo.Services.BusinessEntities;

namespace ServicesTestProject
{
    [TestClass]
    public class CreditCards
    {
        AccountsServiceReference.AccountsServiceClient client = new AccountsServiceReference.AccountsServiceClient();
        [TestMethod]
        public void TC_CreditCards_01_GetCreditCards()
        {
            List<CreditCard> cards = client.GetAllCreditCards(new AccountsServiceReference.GetAllCreditCardsRequest()).Cards;
            Assert.AreEqual(cards.Count, 3);

        }
    }
}
